﻿@model Project_2._2.ViewModels.TinTuc_ViewModels
@{
    ViewBag.Title = "TinTucChiTiet";
    Layout = "~/Views/Shared/_UserLayoutPage2.cshtml";
}
<div class="ContentLeft-child">
    <div class="ContentRight-child-head">@Model.TieuDe</div>
    <div class="ContentRight-child-logo"></div>

    <div class="ContentRight-child-body Box_sp" style="color: black; font-weight: normal">
            @using (Html.BeginForm("TinTucChiTiet", "Default", FormMethod.Post, new { id = "form" }))
            {
                @Html.ValidationSummary(true)   <!--Hiển thị kiểm lỗi phía server-->
                @Html.AntiForgeryToken()    <!--Chống giả lập yêu cầu-->

                <table style="padding:10px 0 0 34px ; line-height:35px">
                    <tr>
                        <td style="color:red; font-size:20px; text-align:center">
                            @Html.DisplayFor(m => m.TieuDe)
                            @Html.ValidationMessageFor(m => m.TieuDe)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            @Html.Raw(Model.NoiDung)
                            @Html.ValidationMessageFor(m => m.TieuDe)
                        </td>
                    </tr>
                </table><br />
            }

        </div>
    </div>